#!/bin/bash

curl http://127.0.0.1:8099/v1/add_peers/1/1,2,3
curl http://127.0.0.1:8099/v1/add_peers/2/6,7,8
#curl http://127.0.0.1:8099/v1/add_peers/3/11,12,13


curl http://127.0.0.1:8099/v1/start_m/1
curl http://127.0.0.1:8099/v1/start_m/2
curl http://127.0.0.1:8099/v1/start_m/3
#curl http://127.0.0.1:8099/v1/start_m/4
#curl http://127.0.0.1:8099/v1/start_m/5


#####测试第一组
curl http://127.0.0.1:8099/v1/create_group/1/1/1
curl http://127.0.0.1:8099/v1/create_group/2/1/2
curl http://127.0.0.1:8099/v1/create_group/3/1/3
#curl http://127.0.0.1:8099/v1/create_group/4/1/4
#curl http://127.0.0.1:8099/v1/create_group/5/1/5


#测试第二组

#curl http://127.0.0.1:8099/v1/create_group/1/2/6
#curl http://127.0.0.1:8099/v1/create_group/2/2/7
#curl http://127.0.0.1:8099/v1/create_group/3/2/8
#curl http://127.0.0.1:8099/v1/create_group/4/2/9
#curl http://127.0.0.1:8099/v1/create_group/5/2/10


#测试第三组
#curl http://127.0.0.1:8099/v1/create_group/1/3/11
#curl http://127.0.0.1:8099/v1/create_group/2/3/12
#curl http://127.0.0.1:8099/v1/create_group/3/3/13
#curl http://127.0.0.1:8099/v1/create_group/4/3/14
#curl http://127.0.0.1:8099/v1/create_group/5/3/15


echo "end..."
